-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Awaited<T> for onfulfilled callbacks with more than one argument #46951
Conversation
@typescript-bot pack this |
Heya @DanielRosenwasser, I've started to run the parallelized community code test suite on this PR at e19aed3. You can monitor the build here. |
Heya @DanielRosenwasser, I've started to run the perf test suite on this PR at e19aed3. You can monitor the build here. |
Heya @DanielRosenwasser, I've started to run the extended test suite on this PR at e19aed3. You can monitor the build here. |
Heya @DanielRosenwasser, I've started to run the tarball bundle task on this PR at e19aed3. You can monitor the build here. |
Heya @DanielRosenwasser, I've started to run the parallelized Definitely Typed test suite on this PR at e19aed3. You can monitor the build here. |
Hey @DanielRosenwasser, I've packed this into an installable tgz. You can install it for testing by referencing it in your
and then running There is also a playground for this build and an npm module you can use via |
@typescript-bot perf test |
Heya @rbuckton, I've started to run the perf test suite on this PR at e19aed3. You can monitor the build here. Update: The results are in! |
@rbuckton Here they are:Comparison Report - main..46951
System
Hosts
Scenarios
Developer Information: |
@typescript-bot user test this |
@typescript-bot run dt |
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
@typescript-bot cherry-pick this to release-4.5 |
Heya @andrewbranch, I've started to run the task to cherry-pick this into |
Hey @andrewbranch, I've opened #47058 for you. |
Component commits: e19aed3 Fix Awaited<T> for onfulfilled callbacks with more than one argument f4b3ef2 Merge branch 'main' into fix46934 Co-authored-by: Ron Buckton <[email protected]>
Made this 4.5-bound. |
This adds a rest argument to the inference for the
onfulfilled
callback to supportPromise
subtypes that provide more than one argument.Fixes #46934